	<div class="modal-panel">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title">
					用户修改
				</h4>
			</div>
			<div class="modal-body">
				<form class="modifyform">
				<input type="hidden" name="user_id"><input type='hidden' name='save' value='1'>
				<div class="line">
					<div class="left-48 input-group">
						<span class="input-group-addon">用户姓名</span>
						<input type="text" class="form-control" disabled name="name">
					</div>
					<div class="right-48  input-group">
						<span class="input-group-addon">用户账号</span>
						<input type="text" class="form-control" disabled name="username" >
						
					</div>
				</div>
				<div class="line">
					<div class="left-48 input-group">
						<span class="input-group-addon">状&nbsp;&nbsp;&nbsp;&nbsp;态</span>
						<input class="form-control" disabled name="status"type="text">
					</div>
					<div class="right-48  input-group">
						<span class="input-group-addon">现住址</span>
						<input type="text" class="form-control" name="live_address" placeholder="32个字符或汉字">
					</div>
				</div>
				<div class="line">
					<div class="left-48 input-group">
						<span class="input-group-addon">手&nbsp;&nbsp;&nbsp;&nbsp;机</span>
						<input type="text" class="form-control" name="mobile" rule='{"rv":{"pr":"admin:user:uniqname","ef":["user_id"]}}' placeholder="可以为空">
					</div>
					<div class="right-48 input-group">
						<span class="input-group-addon">邮&nbsp;&nbsp;&nbsp;&nbsp;箱</span>
						<input type="text" class="form-control" name="email" rule='{"rv":{"pr":"admin:user:uniqname","ef":["user_id"]}}' placeholder="可以为空">
					</div>
				</div>
				<div class="line">
					<div class="left-48 input-group">
						<span class="input-group-addon">性&nbsp;&nbsp;&nbsp;&nbsp;别</span>
						<select class="form-control" name="sex"><option value="">请选择</option></select>
					</div>
					<div class="right-48 input-group">
						<span class="input-group-addon">出生日期</span>
						<input type="text" class="form-control" name="birth" placeholder="格式 年年年年-月月-日日">
					</div>
				</div>
				<div class="line">
					<div class="input-group">
						<span class="input-group-addon">个人爱好</span>
						<div class="ta-outline"><textarea rows="3" name="hobby"></textarea></div>
					</div>
				</div>
			</form>
			</div>
			<div class="modal-footer">
				<button type="reset" class="btn btn-default">重置</button>
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				<button type="button" class="btn btn-primary">提交</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
<script>
$(document).ready(function(){
	$("#userU button.btn-primary").on('click',function(){
		 _p = $(this).getParentTab();
		 m = getMenuByPermit('admin:user:get');
		 if(m){
			getData(m.url,$("#userU .modifyform").serialize(),
			function(res){
				if(res.code==200){
					messageBox(res.msg,'用户修改结果',
					function(){
						$("#userU").modal('hide');
						
						m = getMenuByPermit('admin:user');
						getData(m.url,_p.find("div.searchbar form").serialize(),
							function(res){
								_p.fillListData(res);
							});
					});
				}else {
					messageBox(res.msg,'用户修改结果');
				}
			});
		}
			
	});
});
</script>